package com.dianjing.dianqun.model;

import java.util.Date;

public class DianPaiCommentReply {

	// 回复评论id
	private Integer replyId;

	// 评论id
	private Integer commentId;

	// 评论者id
	private Integer fromUserId;

	//
	private User fromUser;// 手动封装

	// 回复id
	private Integer toUserId;
	
	//是否审核 点睛审核-1 未审核0，审核未通过1，审核通过2
	private Integer isChecked;

	private User toUser;// 手动封装

	private String comment;

	// 评论时间
	private Date insertDate;

 
	public User getFromUser() {
		return fromUser;
	}

	public void setFromUser(User fromUser) {
		this.fromUser = fromUser;
	}

	public User getToUser() {
		return toUser;
	}

	public void setToUser(User toUser) {
		this.toUser = toUser;
	}

	public Date getInsertDate() {
		return insertDate;
	}

	public void setInsertDate(Date insertDate) {
		this.insertDate = insertDate;
	}

	/**
	 * 回复评论id
	 * 
	 * @return reply_id 回复评论id
	 */
	public Integer getReplyId() {
		return replyId;
	}

	/**
	 * 回复评论id
	 * 
	 * @param replyId
	 *            回复评论id
	 */
	public void setReplyId(Integer replyId) {
		this.replyId = replyId;
	}

	/**
	 * 评论id
	 * 
	 * @return comment_id 评论id
	 */
	public Integer getCommentId() {
		return commentId;
	}

	/**
	 * 评论id
	 * 
	 * @param commentId
	 *            评论id
	 */
	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	/**
	 * 评论者id
	 * 
	 * @return user_id 评论者id
	 */
	 
	public Integer getFromUserId() {
		return fromUserId;
	}

	public void setFromUserId(Integer fromUserId) {
		this.fromUserId = fromUserId;
	}

	/**
	 * 回复id
	 * 
	 * @return to_user_id 回复id
	 */
	public Integer getToUserId() {
		return toUserId;
	}

	/**
	 * 回复id
	 * 
	 * @param toUserId
	 *            回复id
	 */
	public void setToUserId(Integer toUserId) {
		this.toUserId = toUserId;
	}

	/**
	 * 
	 * @return comment
	 */
	public String getComment() {
		return comment;
	}

	/**
	 * 
	 * @param comment
	 */
	public void setComment(String comment) {
		this.comment = comment == null ? null : comment.trim();
	}

	public Integer getIsChecked() {
		return isChecked;
	}

	public void setIsChecked(Integer isChecked) {
		this.isChecked = isChecked;
	}
	
	
}